package thread;

public class ThreadDemo10 {
    public static void main(String[] args) {
        Thread t1 = new Thread(() -> {
            System.out.println("hello1");
        });
        Thread t2 = new Thread(() -> {
            System.out.println("hello2");
        });
        t1.start();
        t2.start();
        String s;
    }
}
